﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AA5 RID: 2725
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LogisticsGameScRsp : IMessage<LogisticsGameScRsp>, IMessage, IEquatable<LogisticsGameScRsp>, IDeepCloneable<LogisticsGameScRsp>, IBufferMessage
	{
		// Token: 0x17002256 RID: 8790
		// (get) Token: 0x060079CE RID: 31182 RVA: 0x00144C97 File Offset: 0x00142E97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LogisticsGameScRsp> Parser
		{
			get
			{
				return LogisticsGameScRsp._parser;
			}
		}

		// Token: 0x17002257 RID: 8791
		// (get) Token: 0x060079CF RID: 31183 RVA: 0x00144C9E File Offset: 0x00142E9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LogisticsGameScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002258 RID: 8792
		// (get) Token: 0x060079D0 RID: 31184 RVA: 0x00144CB0 File Offset: 0x00142EB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LogisticsGameScRsp.Descriptor;
			}
		}

		// Token: 0x060079D1 RID: 31185 RVA: 0x00144CB7 File Offset: 0x00142EB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LogisticsGameScRsp()
		{
		}

		// Token: 0x060079D2 RID: 31186 RVA: 0x00144CCC File Offset: 0x00142ECC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LogisticsGameScRsp(LogisticsGameScRsp other) : this()
		{
			this.eventId_ = other.eventId_;
			this.retcode_ = other.retcode_;
			this.bGKJHMDJDCL_ = other.bGKJHMDJDCL_.Clone();
			this.hAPEDFLDGKN_ = other.hAPEDFLDGKN_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060079D3 RID: 31187 RVA: 0x00144D25 File Offset: 0x00142F25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LogisticsGameScRsp Clone()
		{
			return new LogisticsGameScRsp(this);
		}

		// Token: 0x17002259 RID: 8793
		// (get) Token: 0x060079D4 RID: 31188 RVA: 0x00144D2D File Offset: 0x00142F2D
		// (set) Token: 0x060079D5 RID: 31189 RVA: 0x00144D35 File Offset: 0x00142F35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x1700225A RID: 8794
		// (get) Token: 0x060079D6 RID: 31190 RVA: 0x00144D3E File Offset: 0x00142F3E
		// (set) Token: 0x060079D7 RID: 31191 RVA: 0x00144D46 File Offset: 0x00142F46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700225B RID: 8795
		// (get) Token: 0x060079D8 RID: 31192 RVA: 0x00144D4F File Offset: 0x00142F4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<LogisticsScore> BGKJHMDJDCL
		{
			get
			{
				return this.bGKJHMDJDCL_;
			}
		}

		// Token: 0x1700225C RID: 8796
		// (get) Token: 0x060079D9 RID: 31193 RVA: 0x00144D57 File Offset: 0x00142F57
		// (set) Token: 0x060079DA RID: 31194 RVA: 0x00144D5F File Offset: 0x00142F5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HAPEDFLDGKN
		{
			get
			{
				return this.hAPEDFLDGKN_;
			}
			set
			{
				this.hAPEDFLDGKN_ = value;
			}
		}

		// Token: 0x060079DB RID: 31195 RVA: 0x00144D68 File Offset: 0x00142F68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LogisticsGameScRsp);
		}

		// Token: 0x060079DC RID: 31196 RVA: 0x00144D78 File Offset: 0x00142F78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LogisticsGameScRsp other)
		{
			return other != null && (other == this || (this.EventId == other.EventId && this.Retcode == other.Retcode && this.bGKJHMDJDCL_.Equals(other.bGKJHMDJDCL_) && this.HAPEDFLDGKN == other.HAPEDFLDGKN && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060079DD RID: 31197 RVA: 0x00144DE8 File Offset: 0x00142FE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.bGKJHMDJDCL_.GetHashCode();
			if (this.HAPEDFLDGKN)
			{
				num ^= this.HAPEDFLDGKN.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060079DE RID: 31198 RVA: 0x00144E67 File Offset: 0x00143067
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060079DF RID: 31199 RVA: 0x00144E6F File Offset: 0x0014306F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060079E0 RID: 31200 RVA: 0x00144E78 File Offset: 0x00143078
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			if (this.EventId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.EventId);
			}
			if (this.HAPEDFLDGKN)
			{
				output.WriteRawTag(88);
				output.WriteBool(this.HAPEDFLDGKN);
			}
			this.bGKJHMDJDCL_.WriteTo(ref output, LogisticsGameScRsp._repeated_bGKJHMDJDCL_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060079E1 RID: 31201 RVA: 0x00144F00 File Offset: 0x00143100
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.bGKJHMDJDCL_.CalculateSize(LogisticsGameScRsp._repeated_bGKJHMDJDCL_codec);
			if (this.HAPEDFLDGKN)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060079E2 RID: 31202 RVA: 0x00144F78 File Offset: 0x00143178
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LogisticsGameScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.bGKJHMDJDCL_.Add(other.bGKJHMDJDCL_);
			if (other.HAPEDFLDGKN)
			{
				this.HAPEDFLDGKN = other.HAPEDFLDGKN;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060079E3 RID: 31203 RVA: 0x00144FED File Offset: 0x001431ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060079E4 RID: 31204 RVA: 0x00144FF8 File Offset: 0x001431F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 64U)
				{
					if (num == 16U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 64U)
					{
						this.EventId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 88U)
					{
						this.HAPEDFLDGKN = input.ReadBool();
						continue;
					}
					if (num == 106U)
					{
						this.bGKJHMDJDCL_.AddEntriesFrom(ref input, LogisticsGameScRsp._repeated_bGKJHMDJDCL_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002E8E RID: 11918
		private static readonly MessageParser<LogisticsGameScRsp> _parser = new MessageParser<LogisticsGameScRsp>(() => new LogisticsGameScRsp());

		// Token: 0x04002E8F RID: 11919
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002E90 RID: 11920
		public const int EventIdFieldNumber = 8;

		// Token: 0x04002E91 RID: 11921
		private uint eventId_;

		// Token: 0x04002E92 RID: 11922
		public const int RetcodeFieldNumber = 2;

		// Token: 0x04002E93 RID: 11923
		private uint retcode_;

		// Token: 0x04002E94 RID: 11924
		public const int BGKJHMDJDCLFieldNumber = 13;

		// Token: 0x04002E95 RID: 11925
		private static readonly FieldCodec<LogisticsScore> _repeated_bGKJHMDJDCL_codec = FieldCodec.ForMessage<LogisticsScore>(106U, LogisticsScore.Parser);

		// Token: 0x04002E96 RID: 11926
		private readonly RepeatedField<LogisticsScore> bGKJHMDJDCL_ = new RepeatedField<LogisticsScore>();

		// Token: 0x04002E97 RID: 11927
		public const int HAPEDFLDGKNFieldNumber = 11;

		// Token: 0x04002E98 RID: 11928
		private bool hAPEDFLDGKN_;
	}
}
